package com.sharp.kernel.config.db.key;

import tk.mybatis.mapper.genid.GenId;

import java.util.UUID;

/**
 * Title: UuidGenId
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2021/5/12 9:57
 */
public class UuidGenId implements GenId<String> {

    @Override
    public String genId(String table, String column) {
        return UUID.randomUUID().toString().replace("-", "");
    }
}
